import moment from "moment";

export const formatDateTime = (date: Date) => {
	const formatDate = new Date(date);
	return moment(formatDate).format("YYYY-MM-DD HH:mm:ss");
}